import javax.swing.*;
import java.io.IOException;

public class MainFormClient {
    public static void main(String[] args) {
        javax.swing.SwingUtilities.invokeLater(new Runnable() {
            @Override
            public void run() {
                try {
                    createGUI();
                } catch (IOException e) {
                    e.printStackTrace();
                }
            }
        });
    }
    private static void createGUI() throws IOException {
        Frame frame = new Frame("Client");
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.setVisible(true);
        frame.setSize(100,300);
        frame.pack();

    }
}
